PDF Xpress™ supports opening a PDF document from the local file system.
To load a PDF document using PDF Xpress, call the OpenDocument method or OpenDocumentEx method.
|
PDF Xpress does not directly support remote file communication protocols, such as HTTP and FTP, to load PDF files. |
|
PDF Xpress can load any well-formed PDF up to PDF version 1.7. |
VB Example |
Copy Code
|
'This code demonstrates loading a PDF document from file
Dim pdfxpress1 As New Pdfxpress
pdfxpress1.Initialize
pdfxpress1.RaiseExceptions = True
Dim document As New PdfDocument
Dim openOpts As New OpenOptions
document.SetParentControl pdfxpress1
openOpts.FileName = "C:\test.pdf"
document.OpenDocumentOptions openOpts
.
.
.
Set document = Nothing
pdfxpress1.Terminate
Set pdfxpress1= Nothing
|
See Also